//Download by http://www.NewXing.com
// DownParamSheet.cpp : implementation file
//

#include "stdafx.h"
#include "LeoBlock2004.h"
#include "DownParamSheet.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CDownParamSheet

IMPLEMENT_DYNAMIC(CDownParamSheet, CPropertySheet)

CDownParamSheet::CDownParamSheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
{
}

CDownParamSheet::CDownParamSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
}

CDownParamSheet::~CDownParamSheet()
{
}


BEGIN_MESSAGE_MAP(CDownParamSheet, CPropertySheet)
	//{{AFX_MSG_MAP(CDownParamSheet)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDownParamSheet message handlers

BOOL CDownParamSheet::OnInitDialog() 
{
	BOOL bResult = CPropertySheet::OnInitDialog();
	
	// TODO: Add your specialized code here
	CWnd *pWnd=GetDlgItem(ID_APPLY_NOW);
	pWnd->ShowWindow(FALSE);
	m_pbuOk=(CButtonXP*)GetDlgItem(IDOK);
	//pbuOk->ModifyStyle(BS_DEFPUSHBUTTON,BS_OWNERDRAW);
	

	
	

	
	return bResult;
}

void CDownParamSheet::PreSubclassWindow() 
{
	// TODO: Add your specialized code here and/or call the base class
	
	CPropertySheet::PreSubclassWindow();
}
